Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 5 - Ink Objects / Ink Objects Reference
Functions / Creating and Manipulating Ink Objects


GXDisposeInk

You can use the GXDisposeInk function to release a reference to an ink object.

void GXDisposeInk(gxInk target);
target
A reference to the ink object to dispose of.
DESCRIPTION
The GXDisposeInk function decrements the owner count of the ink object specified by the target parameter and releases any memory used by it if the owner count goes to 0.

ERRORS, WARNINGS, AND NOTICES
Errors 
ink_is_nil 
SEE ALSO
Owner counts for ink objects are discussed in the section "Copying, Comparing, and Cloning Ink Objects" beginning on page 5-39, and in the section "Manipulating an Ink Object's Owner Count" beginning on page 5-41. To examine the owner count of an ink, use the GXGetInkOwners function, described on page 5-64.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996